package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@ApiModel("未完工加工单明细 查询条件")
public class VProductionWorkDetailSearchDto {

    @ApiModelProperty(value = "销售单号")
    @TableField("sale_order_code")
    private String saleOrderCode;

    @ApiModelProperty(value = "加工单号")
    @TableField("production_work_code")
    private String productionWorkCode;

    @ApiModelProperty(value = "生产车间")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "物料id（产品ID）")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "单据编号(派工单号)")
    @TableField("voucher_code")
    private String voucherCode;

    @ApiModelProperty(value = "单据日期_开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate voucherDateStart;

    @ApiModelProperty(value = "单据日期_结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate voucherDateEnd;

    @ApiModelProperty(value = "预计开工日期_开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate expectStartDateStart;

    @ApiModelProperty(value = "预计开工日期_结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate expectStartDateEnd;




}
